<table class="order-summary">
  <tr>
    <th colspan="4" id="order-num">Order # <%=@order.number%></th>
  </tr>
  <tr>
    <th>Item Description</th>
    <th>Price</th>
    <th>Qty</th>
    <th>Total</th>
  </tr>
  <% for item in @order.line_items %>
    <tr >
      <td width="300"><%=item.product.name-%> <%= "(#{item.variation.name})" if item.variation %></td>
      <td valign="top"><%= number_to_currency item.price -%></td>
      <td valign="top"><%=item.quantity-%></td>
      <td valign="top"><%= number_to_currency (item.price * item.quantity)-%></td>
    </tr>
  <% end %>      
  <tr id="subtotal-row">
    <td colspan="3"><b>Subtotal: </b></td>
    <td><%= number_to_currency @order.item_total -%></td>
  </tr>
  <tr>
    <td colspan="3"><b>Tax: </b></td>
    <td><%= number_to_currency @order.tax_amount -%></td>
  </tr>
  <tr>
    <td colspan="3"><b>Shipping: </b></td>
    <td><%= number_to_currency @order.ship_amount -%></td>
  </tr>
  <tr>
    <td colspan="3"><b>Order Total: </b></td>
    <td><%= number_to_currency @order.total -%></td>
  </tr>
</table>